﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace AnaGiftedProject
{
	/*public class DataAccess
	{
     SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["SqlServerCS"].ToString());
     public DataAccess()
     {
         conn.Open();
     }
     public void closeconnection()
     {
         conn.Close();
     }
     public DataSet GetAllPersImg()
        {
            SqlDataAdapter da = new SqlDataAdapter("SELECT * FROM PersonalImg", conn);
            DataSet ds = new DataSet();
            da.Fill(ds, "PIMG");
            return ds;
        }
     public DataSet GetAllupdate()
     {
         SqlDataAdapter da = new SqlDataAdapter("SELECT * FROM Blogs", conn);
         DataSet ds = new DataSet();
         da.Fill(ds, "blog");
         return ds;
     }*/

    /* public DataSet GetAllgallimg()
     {
         SqlDataAdapter da = new SqlDataAdapter("SELECT * FROM GalleryImg", conn);
         DataSet ds = new DataSet();
         da.Fill(ds, "GallImg");
         return ds;
     }
}*/
}